//包整体
function Package() {
	var packageBaseInfo;
	var packObjMap;
	var actionItemMap;

	var packParamMap;
	var paramActionRelaMap;

	var packContentAddArray;
	var packContentModifyArray;
	var packContentDelArray;

	this.setPackageBaseInfo = function(_packageBaseInfo) {
		this.packageBaseInfo = _packageBaseInfo;
	}
	this.getPackageBaseInfo = function() {
		return this.packageBaseInfo;
	}
	this.setPackObjMap = function(_packObjMap) {
		this.packObjMap = _packObjMap;
	}
	this.getPackObjMap = function() {
		return this.packObjMap;
	}
	this.setActionItemMap = function(_actionItemMap) {
		this.actionItemMap = _actionItemMap;
	}
	this.getActionItemMap = function() {
		return this.actionItemMap;
	}

	this.setPackParamMap = function(_packParamMap) {
		this.packParamMap = _packParamMap;
	}
	this.getPackParamMap = function() {
		return this.packParamMap;
	}
	this.setParamActionRelaMap = function(_paramActionRelaMap) {
		this.paramActionRelaMap = _paramActionRelaMap;
	}
	this.getParamActionRelaMap = function() {
		return this.paramActionRelaMap;
	}

	this.setPackContentAddArray = function(_packContentAddArray) {
		this.packContentAddArray = _packContentAddArray;
	}
	this.getPackContentAddArray = function() {
		return this.packContentAddArray;
	}
	this.setPackContentModifyArray = function(_packContentModifyArray) {
		this.packContentModifyArray = _packContentModifyArray;
	}
	this.getPackContentModifyArray = function() {
		return this.packContentModifyArray;
	}
	this.setPackContentDelArray = function(_packContentDelArray) {
		this.packContentDelArray = _packContentDelArray;
	}
	this.getPackContentDelArray = function() {
		return this.packContentDelArray;
	}
}
//包基本信息
function PackageBaseInfo() {
	var packageId;
	var name;
	var packageCode;
	var description;
	var receiptContent;
	var packagePicUrl;
	var packageAD;
	var areaId;
	var areaName;
	var startDate;
	var endDate;
	var statusCd;
	var createDate;
	var version;
	var feeType;

	this.setPackageId = function(_packageId) {
		this.packageId = _packageId;
	}
	this.getPackageId = function() {
		return this.packageId;
	}
	this.setName = function(_name) {
		this.name = _name;
	}
	this.getName = function() {
		return this.name;
	}
	this.setPackageCode = function(_packageCode) {
		this.packageCode = _packageCode;
	}
	this.getPackageCode = function() {
		return this.packageCode;
	}
	this.setDescription = function(_description) {
		this.description = _description;
	}
	this.getDescription = function() {
		return this.description;
	}
	this.setReceiptContent = function(_receiptContent) {
		this.receiptContent = _receiptContent;
	}
	this.getReceiptContent = function() {
		return this.receiptContent;
	}
	this.setPackagePicUrl = function(_packagePicUrl) {
		this.packagePicUrl = _packagePicUrl;
	}
	this.getPackagePicUrl = function() {
		return this.packagePicUrl;
	}
	this.setPackageAD = function(_packageAD) {
		this.packageAD = _packageAD;
	}
	this.getPackageAD = function() {
		return this.packageAD;
	}
	this.setAreaId = function(_areaId) {
		this.areaId = _areaId;
	}
	this.getAreaId = function() {
		return this.areaId;
	}
	this.setAreaName = function(_areaName) {
		this.areaName = _areaName;
	}
	this.getAreaName = function() {
		return this.areaName;
	}

	this.setStartDate = function(_startDate) {
		this.startDate = _startDate;
	}
	this.getStartDate = function() {
		return this.startDate;
	}
	this.setEndDate = function(_endDate) {
		this.endDate = _endDate;
	}
	this.getEndDate = function() {
		return this.endDate;
	}
	this.setStatusCd = function(_statusCd) {
		this.statusCd = _statusCd;
	}
	this.getStatusCd = function() {
		return this.statusCd;
	}
	this.setCreateDate = function(_createDate) {
		this.createDate = _createDate;
	}
	this.getCreateDate = function() {
		return this.createDate;
	}
	this.setVersion = function(_version) {
		this.version = _version;
	}
	this.getVersion = function() {
		return this.version;
	}
	this.setFeeType = function(_feeType) {
		this.feeType = _feeType;
	}
	this.getFeeType = function() {
		return this.feeType;
	}

}

//包参数
function PackageParameter() {
	var packageId;
  	var parameterId;
  	var name;
  	var parameterType;
  	var itemSpecId;
  	var defaultValue;
  	var valueDownlimit;
  	var valueUplimit;
  	var optionValue;
  	var createDate;
  	var version;

	this.setPackageId = function(_packageId) {
		this.packageId = _packageId;
	}
	this.getPackageId = function() {
		return this.packageId;
	}
	this.setParameterId = function(_parameterId) {
		this.parameterId = _parameterId;
	}
	this.getParameterId = function() {
		return this.parameterId;
	}
	this.setName = function(_name) {
		this.name = _name;
	}
	this.getName = function() {
		return this.name;
	}
	this.setParameterType = function(_parameterType) {
		this.parameterType = _parameterType;
	}
	this.getParameterType = function() {
		return this.parameterType;
	}
	this.setItemSpecId = function(_itemSpecId) {
		this.itemSpecId = _itemSpecId;
	}
	this.getItemSpecId = function() {
		return this.itemSpecId;
	}
	this.setDefaultValue = function(_defaultValue) {
		this.defaultValue = _defaultValue;
	}
	this.getDefaultValue = function() {
		return this.defaultValue;
	}
	this.setValueDownlimit = function(_valueDownlimit) {
		this.valueDownlimit = _valueDownlimit;
	}
	this.getValueDownlimit = function() {
		return this.valueDownlimit;
	}
	this.setValueUplimit = function(_valueUplimit) {
		this.valueUplimit = _valueUplimit;
	}
	this.getValueUplimit = function() {
		return this.valueUplimit;
	}
	this.setOptionValue = function(_optionValue) {
		this.optionValue = _optionValue;
	}
	this.getOptionValue = function() {
		return this.optionValue;
	}
	this.setCreateDate = function(_createDate) {
		this.createDate = _createDate;
	}
	this.getCreateDate = function() {
		return this.createDate;
	}
	this.setVersion = function(_version) {
		this.version = _version;
	}
	this.getVersion = function() {
		return this.version;
	}
}

//包对象
function PackageObject() {
	var packageId;
	var objectNumber;
	var objectName;
	var objType;
	var objId;
	var isNew;
	var createDate;
	var version;
	var seq;
	var alias;
	var intention; //客户订购表示位
	var defaultValue;

	this.setDefaultValue = function(_defaultValue){
		this.defaultValue = _defaultValue;
	}
	this.getDefaultValue = function(){
		return this.defaultValue;
	}

	this.setPackageId = function(_packageId) {
		this.packageId = _packageId;
	}
	this.getPackageId = function() {
		return this.packageId;
	}
	this.setObjectNumber = function(_objectNumber) {
		this.objectNumber = _objectNumber;
	}
	this.getObjectNumber = function() {
		return this.objectNumber;
	}
	this.setObjectName = function(_objectName) {
		this.objectName = _objectName;
	}
	this.getObjectName = function() {
		return this.objectName;
	}
	this.setObjType = function(_objType) {
		this.objType = _objType;
	}
	this.getObjType = function() {
		return this.objType;
	}
	this.setObjId = function(_objId) {
		this.objId = _objId;
	}
	this.getObjId = function() {
		return this.objId;
	}
	this.setIsNew = function(_isNew) {
		this.isNew = _isNew;
	}
	this.getIsNew = function() {
		return this.isNew;
	}
	this.setCreateDate = function(_createDate) {
		this.createDate = _createDate;
	}
	this.getCreateDate = function() {
		return this.createDate;
	}
	this.setVersion = function(_version) {
		this.version = _version;
	}
	this.getVersion = function() {
		return this.version;
	}
	this.setSeq = function(_seq) {
		this.seq = _seq;
	}
	this.getSeq = function() {
		return this.seq;
	}
	this.setAlias = function(_alias) {
		this.alias = _alias;
	}
	this.getAlias = function() {
		return this.alias;
	}
	this.setIntention = function(_intention) {
		this.intention = _intention;
	}
	this.getIntention = function() {
		return this.intention;
	}

}

//包动作条目
function PackageActionItem() {
	var actionItemId;
	var description;
	var partobjNumber;
	var actionTypeCd;
	var actionTypeName;
	var effectobjNumber;
	var roleCd;
	var roleName;
	var isVisible;
	var isMust;
	var createDate;
	var version;
	var packageId;
	var seqNumber;

	var actionItemParameterList;

	this.setActionItemId = function(_actionItemId) {
		this.actionItemId = _actionItemId;
	}
	this.getActionItemId = function() {
		return this.actionItemId;
	}
	this.setDescription = function(_description) {
		this.description = _description;
	}
	this.getDescription = function() {
		return this.description;
	}
	this.setPartobjNumber = function(_partobjNumber) {
		this.partobjNumber = _partobjNumber;
	}
	this.getPartobjNumber = function() {
		return this.partobjNumber;
	}
	this.setActionTypeCd = function(_actionTypeCd) {
		this.actionTypeCd = _actionTypeCd;
	}
	this.getActionTypeCd = function() {
		return this.actionTypeCd;
	}
	this.setActionTypeName = function(_ActionTypeName) {
		this.ActionTypeName = _ActionTypeName;
	}
	this.getActionTypeName = function() {
		return this.ActionTypeName;
	}
	this.setEffectobjNumber = function(_effectobjNumber) {
		this.effectobjNumber = _effectobjNumber;
	}
	this.getEffectobjNumber = function() {
		return this.effectobjNumber;
	}
	this.setRoleCd = function(_roleCd) {
		this.roleCd = _roleCd;
	}
	this.getRoleCd = function() {
		return this.roleCd;
	}
	this.setRoleName = function(_roleName) {
		this.roleName = _roleName;
	}
	this.getRoleName = function() {
		return this.roleName;
	}
	this.setIsVisible = function(_isVisible) {
		this.isVisible = _isVisible;
	}
	this.getIsVisible = function() {
		return this.isVisible;
	}
	this.setIsMust = function(_isMust) {
		this.isMust = _isMust;
	}
	this.getIsMust = function() {
		return this.isMust;
	}
	this.setCreateDate = function(_createDate) {
		this.createDate = _createDate;
	}
	this.getCreateDate = function() {
		return this.createDate;
	}
	this.setVersion = function(_version) {
		this.version = _version;
	}
	this.getVersion = function() {
		return this.version;
	}
	this.setPackageId = function(_packageId) {
		this.packageId = _packageId;
	}
	this.getPackageId = function() {
		return this.packageId;
	}
	this.setSeqNumber = function(_seqNumber) {
		this.seqNumber = _seqNumber;
	}
	this.getSeqNumber = function() {
		return this.seqNumber;
	}
	this.setActionItemParameterList = function(_actionItemParameterList) {
		this.actionItemParameterList = _actionItemParameterList;
	}
	this.getActionItemParameterList = function() {
		return this.actionItemParameterList;
	}

}

//动作参数
function ActionParameter() {
	var parameterId;
	var name;
	var actionItemId;
	var parameterType;
	var itemSpecId;
	var defaultValue;
	var valueDownlimit;
	var valueUplimit;
	var optionValue;
	var createDate;
	var version;
	var needInput;
	var packageParameterId;

	var parameterActionRelaList;

	this.setParameterId = function(_parameterId) {
		this.parameterId = _parameterId;
	}
	this.getParameterId = function() {
		return this.parameterId;
	}
	this.setName = function(_name) {
		this.name = _name;
	}
	this.getName = function() {
		return this.name;
	}
	this.setActionItemId = function(_actionItemId) {
		this.actionItemId = _actionItemId;
	}
	this.getActionItemId = function() {
		return this.actionItemId;
	}
	this.setParameterType = function(_parameterType) {
		this.parameterType = _parameterType;
	}
	this.getParameterType = function() {
		return this.parameterType;
	}
	this.setItemSpecId = function(_itemSpecId) {
		this.itemSpecId = _itemSpecId;
	}
	this.getItemSpecId = function() {
		return this.itemSpecId;
	}
	this.setDefaultValue = function(_defaultValue) {
		this.defaultValue = _defaultValue;
	}
	this.getDefaultValue = function() {
		return this.defaultValue;
	}
	this.setValueDownlimit = function(_valueDownlimit) {
		this.valueDownlimit = _valueDownlimit;
	}
	this.getValueDownlimit = function() {
		return this.valueDownlimit;
	}
	this.setValueUplimit = function(_valueUplimit) {
		this.valueUplimit = _valueUplimit;
	}
	this.getValueUplimit = function() {
		return this.valueUplimit;
	}
	this.setOptionValue = function(_optionValue) {
		this.optionValue = _optionValue;
	}
	this.getOptionValue = function() {
		return this.optionValue;
	}
	this.setCreateDate = function(_createDate) {
		this.createDate = _createDate;
	}
	this.getCreateDate = function() {
		return this.createDate;
	}
	this.setVersion = function(_version) {
		this.version = _version;
	}
	this.getVersion = function() {
		return this.version;
	}
	this.setNeedInput = function(_needInput) {
		this.needInput = _needInput;
	}
	this.getNeedInput = function() {
		return this.needInput;
	}
	this.setPackageParameterId = function(_packageParameterId) {
		this.packageParameterId = _packageParameterId;
	}
	this.getPackageParameterId = function() {
		return this.packageParameterId;
	}
	this.setParameterActionRelaList = function(_parameterActionRelaList) {
		this.parameterActionRelaList = _parameterActionRelaList;
	}
	this.getParameterActionRelaList = function() {
		return this.parameterActionRelaList;
	}
}

//动作关联参数
function ParameterActionRela() {
	var parentActionItemId;
	var parameterId;
	var value;
	var actionItemId;
	var relaType;
	var grpId;

	this.setParentActionItemId = function(_parentActionItemId) {
		this.parentActionItemId = __parentActionItemId;
	}
	this.getParentActionItemId = function() {
		return this.parentActionItemId;
	}
	this.setParameterId = function(_parameterId) {
		this.parameterId = _parameterId;
	}
	this.getParameterId = function() {
		return this.parameterId;
	}
	this.setValue = function(_value) {
		this.value = _value;
	}
	this.getValue = function() {
		return this.value;
	}
	this.setActionItemId = function(_actionItemId) {
		this.actionItemId = _actionItemId;
	}
	this.getActionItemId = function() {
		return this.actionItemId;
	}
	this.setRelaType = function(_relaType) {
		this.relaType = _relaType;
	}
	this.getRelaType = function() {
		return this.relaType;
	}
	this.setGrpId = function(_grpId) {
		this.grpId = _grpId;
	}
	this.getGrpId = function() {
		return this.grpId;
	}

}
